Contents | Index | < Browse | Browse >

LETTERcoutULETTER An ostream object, which writes to the standard output.

Overview
#include <iostream.h>

cout << x;

<any type> x; // Any type, which can be used with ostream::operator<<

Portability
AT&T Release 2 streams library

Description
At startup, cout is initialized with the standard output stream. Normally this is the CLI's console the program was started from.

See also
cerr , clog , cin

Example

#include <iostream.h>

void main()
{
cout << "Hello World!" << endl;
}